/*
 * Class: ISong
 * 
 * Created on Sep 26, 2013
 * 
 * (c) Copyright by Minh Tran
 * Global Cybersoft VN.
 * Floor 3-4-5, Helios Building, Quang Trung Software City
 */
package com.minh.tran.sg.model;

import com.minh.tran.sg.Configuration;

public interface ISItem
{

    /** The id type nct. */
    int ID_TYPE_NCT = 0;

    /** The id type zing. */
    int ID_TYPE_ZING = 1;

    /**
     * Gets the iD.
     *
     * @return the iD
     */
    String getId();

    /**
     * Gets the download link.
     *
     * @param config the config
     * @return the download link
     */
    String getDownloadLink(final Configuration config);

    /**
     * Checks if is valid.
     *
     * @return true, if is valid
     */
    boolean isASong();

    /**
     * Checks if is playlist.
     *
     * @return true, if is playlist
     */
    boolean isPlaylist();
    
    /**
     * Gets the info.
     *
     * @return the info
     */
    String getInfo();
}